<style>{literal}
div#auth, div#auth input { color:#000; }
div#auth { text-align:center; margin-left:20%; width:60%; }
div#auth input { font-size: 2.1em; margin:0.2em 0; text-align:center; width:100%; }
div#auth a { color:#000; font-size: 1.1em; text-decoration:none; border-bottom:1px solid; }
div#auth a:hover { color:#14ABC1; }
{/literal}</style>

<form action="{$auth__controller}signin/" method="post">
<div id="auth">
<label for="myLogin">Логин</label><br/>
<input id="myLogin" type="text" value="введите логин" name="login" onblur="javascript: if(this.value=='') this.value='введите логин';" onfocus="javascript:if (this.value=='введите логин') this.value='';" /><br/>
<label for="myPassword">Пароль</label><br/>
<input id="myPassword" type="text" value="введите пароль" name="password" {literal}onblur="javascript:if(this.value==''){this.value='введите пароль';this.type='text';}" onfocus="javascript:if(this.value=='введите пароль'){this.value='';this.type='password';this.focus();};"{/literal} /><br/>
<input type="submit" style="width:46%;margin-top:4px;" value="войти">
<br/>
<br/>
<br/>
<a href="{$auth__controller}recovery/"><b>&#x00bf;</b> Вспомнить пароль</a><br/>
{if $referer}<br/><a href="{$referer}">&larr; Вернуться</a><br/>{/if}
<br/><br/>
<big><b><a href="{$auth__controller}signup/">@ Заведите аккаунт на Айде!</a></b></big>
<br/><br/>
</div>
</form>


<style>{literal}label { width:100px;float:left; }{/literal}</style>

{if isset($error)}<b>{$error}</b><br/>{/if}
<form action="{$auth__controller}signup/" method="POST">
<input type="hidden" name="code" value="{$code|default:''}" />
<label for="myname">* Меня зовут </label><input name="name" id="myname" type="text" value="{$name|default:''}" /><br/>
<label for="mylogin">* Меня login </label><input name="login" id="mylogin" type="text" value="{$login|default:''}" /><br/>
<label for="mypass">* Пароль </label><input name="pass" id="mypass" type="text" value="{$pass|default:''}" /><br/>
<label for="myemail">* Моя почта </label><input name="email" id="myemail" type="text" value="{$email|default:''}" /><br/>
<span style="width:100px;float:left;">&nbsp;</span><input type="submit" value="Зарегистрироваться" />
</form>